<html lang="zh_cn">
	<head>
<!-- 判断浏览器版本 -->
 <script type="text/javascript">
	if(navigator.appName == "Microsoft Internet Explorer") 
	{ 
		window.location.href='index.html?name=1';
	}  
</script>
		<title>收押岗位APP</title>
		<meta chartset="utf-8">
		<meta http-equiv="Pragma" content="no-cache">		
		<meta http-equiv="Cache-Control" content="no-store,must-revalidate">
		<meta http-equiv="expires" content="0"/>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<meta content="IE=edge" http-equiv="X-UA-Compatible">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<!-- 引入Bootstrap CSS 文件 -->
		<link rel="stylesheet" href="resources2/lib/bootstrap/css/bootstrap.min.css">
		<!-- 引入AwdApp 桌面 CSS 文件 -->
		<link rel="stylesheet" href="resources2/css/blue/awdapp.preloader.css">
		<link rel="stylesheet" href="resources2/css/awdapp.reset.css">
		<!--[if lt IE 8]>
		<script type="text/javascript">
			window.location.href="unsupport_browser.html";
		</script>
	<![endif]-->
	</head>

	<body>
		<!-- 预加载界面 -->
		<div class="awd-preloader">
			<div id="awd-preloader-panel" class="awd-preloader-panel">
				<div class="awd-preload-title">
					<img alt="" src="resources2/images/logo.png" height="30px" style="margin-top:-10px;margin-right: 10px;"> <span class="segoe">收押岗位APP</span> <small> <span
					class="segoe"></span>
				</small>
				</div>
				<div class="awd-preload-progress">
					<img class="awd-preloader-icon" src="resources2/images/preloader.gif"> <span class="awd-preloader-text">正在加载样式与脚本...</span>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			var ctx = "";
			var panel = document.getElementById("awd-preloader-panel");
			var marginTop = ((document.body.offsetHeight - panel.offsetHeight) / 2) - 50;
			panel.style.marginTop = marginTop > 0 ? marginTop : 200;
		</script>
		<!-- 引入AwdApp 公共 CSS文件 -->
		<link rel="stylesheet" href="resources2/css/blue/awdapp.css" awd-theme>
		<link rel="stylesheet" href="resources2/lib/metroicon/css/metro.icon.css">
		<link rel="stylesheet" href="resources2/lib/fontawesome/css/font-awesome.min.css">
		<script src="resources2/lib/jquery-1.9.1.min.js"></script>
		<script src="resources2/lib/jquery-dd.min.js"></script>
		<script src="resources2/lib/bootstrap/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="/js/common.js"></script>
		<script src="resources2/awdapp.min.js"></script>
		<link rel="shortcut icon" href="resources2/images/shortcut.png">
		<script>
			function setCookie(name, value) {
				var days = 30;
				var exp = new Date();
				exp.setTime(exp.getTime() + days * 24 * 60 * 60 * 1000);
				document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
			}

			function getCookie(name) {
				var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
				if(arr = document.cookie.match(reg))
					return unescape(arr[2]);
				else
					return null;
			}

			var eventer = window.AwdApp ? AwdApp.EventManager : $(document);
			eventer.on("awdapp.beforestart", function() {
				AwdApp.debug = true;

				AwdApp.apply(AwdApp.User, {
					logon :true,
					name: "AwdApp",
					face: "resources2/images/account/face/default.png"
				});

				AwdApp.apply(AwdApp.Settings, {
					wallpaper: "resources2/images/wallpaper.jpg",
					shortcutSize: getCookie("AWDAPP-SHORTCUT-SIZE") || "small",
					mode: getCookie("AWDAPP-MODE") || "metro"
				});

				if(AwdApp.Settings.mode == 'desktop') {
					var containerContextMenu = AwdApp.desktop.ContextMenu.containerContextMenu;
					containerContextMenu.insert({
						id: 'switch',
						icon: 'glyphicon glyphicon-th-large',
						name: '桌面布局',
						items: [{
							id: 'metro',
							name: '磁贴',
							handler: function() {
								AwdApp.Messager.alert("功能开发中");
							}
						}, {
							id: 'desktop',
							name: '图标',
							icon: 'glyphicon glyphicon-ok'
						}]
					}, 1);
				} else {
					var containerContextMenu = AwdApp.metro.ContextMenu.containerContextMenu;
					containerContextMenu.insert({
						id: 'switch',
						icon: 'glyphicon glyphicon-th-large',
						name: '桌面布局',
						items: [{
							id: 'metro',
							name: '磁贴',
							icon: 'glyphicon glyphicon-ok'
						}, {
							id: 'desktop',
							name: '图标',
							handler: function() {
								AwdApp.Messager.alert("功能开发中");
							}
						}]
					}, 0);
				}

				AwdApp.EventManager.on("awd.dockbar.init", function() {
					var name = "图标模式"
					if(AwdApp.Settings.mode == 'desktop') {
						name = "磁贴模式";
					}
					var switchMode = $("<li class=\"awd-dockbar-action\">" +
						"<span class=\"awd-dockbar-action-icon glyphicon glyphicon-th-large\"></span>" +
						"<div class=\"awd-dockbar-action-name\">" + name + "</div>" +
						"</li>");
					switchMode.appendTo($(".awd-dockbar-content"));
					switchMode.click(function() {
						AwdApp.Messager.showLoading("", "正在切换...");
						if(AwdApp.Settings.mode == 'desktop') {
							setCookie("AWDAPP-MODE", "metro");
						} else {
							setCookie("AWDAPP-MODE", "desktop");
						}
						window.location.reload();
					});
				});
				AwdApp.EventManager.on("awd.desktop.shortcut.size.change", function(size) {
					setCookie("AWDAPP-SHORTCUT-SIZE", size);
				});
				AwdApp.EventManager.on("awd.taskbar.init", function() {
				
				});
			});
		</script>
</body>

</html>